/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bs.extensoesSwing;

import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author Bone
 */
public class AlterarRegistroGridButton extends PadraoGridButton{

    public AlterarRegistroGridButton() {
        addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                getController().alterar();
            }
        });
        setText("Alterar");
        setPreferredSize(new Dimension(100, 45));
    }
    
}
